package com.example.xpvideo.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 本地生活商品专区表(SpecialArea)实体类
 *
 * @author 
 * @since 2021-09-17 01:50:48
 */
@ApiModel("本地生活商品专区表")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SpecialArea implements Serializable {
    private static final long serialVersionUID = 387462205633791793L;
        /**
    *主键
    * ${column.comment}
    * isnull 1
    */
    @ApiModelProperty(value="$column.comment",position=1)
    private Integer id;

    /**
    * 专区名称
    * isnull 0
    */        @ApiModelProperty(value="专区名称",position=2)
    private String name;
    /**
    * 是否删除：0是；1否
    * isnull 0
    */        @ApiModelProperty(value="是否删除：0是；1否",position=3)
    private String isDel;
    /**
    * 创建时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        @ApiModelProperty(value="创建时间",position=4)
    private LocalDateTime createTime;
    /**
    * 更新时间
    * isnull 0
    */        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
        @ApiModelProperty(value="更新时间",position=5)
    private LocalDateTime updateTime;
        
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
        
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
        
    public String getIsDel() {
        return isDel;
    }

    public void setIsDel(String isDel) {
        this.isDel = isDel;
    }
        
    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }
        
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

        @Override
    public String toString() {
        return "{" +
                    " \"id\":" + id +
                                  " ,\"name\":" + name +
                            " ,\"isDel\":" + isDel +
                            " ,\"createTime\":" + createTime +
                            " ,\"updateTime\":" + updateTime +
                  '}';
    }


}
